//
//  SHKViewController.m
//  YsFileBrowser
//
//  Created by 139994824@qq.com on 03/17/2020.
//  Copyright (c) 2020 139994824@qq.com. All rights reserved.
//

#import "SHKViewController.h"
#import <YsFileBrowser/YsFileBrowser.h>

@interface SHKViewController ()

@end

@implementation SHKViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    self.view.backgroundColor = [UIColor redColor];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    NSString *path = [NSBundle.mainBundle pathForResource:@"shuoyunFile" ofType:@"ysnote"];
    [YsFileBrowserManager browserFileType:YsFileBrowserSmartPenFileType withCurentVC:self withDataSource:@[path]];
}
@end
